ns16550: make some initialisation common
authorIan Campbell <ian.campbell@citrix.com>
Wed, 26 Mar 2014 11:55:55 +0000 (11:55 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 2 Apr 2014 13:08:25 +0000 (14:08 +0100)
commita0eddd939d6e11e71a6fbfe4fe8329fd80194275
tree5996aa79e96654ade8d543c0eeb732c308926e6a
parent5674cfe0abdba85dda5fb7fa2e96ecda639f6820
ns16550: make some initialisation common

Should avoid accidents like forgetting to init lsr_mask for DT devices in the
future.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Keir Fraser <keir@xen.org>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/char/ns16550.c